GET Request and Download

Command Prototype

sRet = HTTP.GetFile(sURL, sFile, sForm, iTimeout)

Command Description

Sends an HTTP GET request to a given URL and downloads the server response as a file

Parameter Description
Required Parameter
sURL--URL to send the request to
sFile--Path of the file to store the returned data as
sForm--The data sent along with the GET request. Can be a string or a dictionary
iTimeout--Time (in milliseconds) before the request times out
return
sRet--The variable used to save the output of the function call

results matching ""

    No results matching ""